import { useState } from 'react';
export default () => {
  const [markDownStore, setMarkDownStore] = useState<MARKDOWN.StateType>({
    theme: 'light',
    previewTheme: 'default',
    codeTheme: 'atom',
    lang: 'zh-CN',
  });

  return {
    markDownStore,
    setMarkDownStore,
  };
};
